This article mainly introduces the type of HTML button tags, as well as the role and use of HTML button tags, and finally the use of examples, now let's look at this article together
First look at the HTML button label how much do we know?
There
Note: Someone has translated this article and re-recognized the button tag. However, it seems that many of them are worthy of scrutiny and are not easy to understand. Therefore, I re-translated this article based on my personal learning experience.
We should control the Submit button when the form is submitted, and cannot click repeatedly to submit the data. Otherwise there will be redundant duplication of data in the system, causing the system to appear data garbage. jquery is simple enough
Type = "button" and type = "submit", buttonsubmitType = "button", "submit)
Submit is a Button used to Submit a form. There are two main differences between Submit and Button:Type = button is simply a button FunctionType = submit is the sending form(
Submitted in this manner, when the input value is 22222222, the URL submitted later becomes localhost:3980/input.html?name=222222Some of the notable details include:
When you set the Type=submit, the input control becomes a button with the text
HTML: button, HTML: Submit, HTML: cancel, and other tags in struts. None of these tag attributes are used for internationalization, to put it bluntly, there is no attribute that can fill in the key of message resource for us. This poses a problem
Html Tag: The image can also submit form !!!, Imageform
Html Tag: The image can also submit form !!!
Image can also submit form
Previously, "" was often used to submit form
The development process in the project today includes the following features:
This article mainly introduces the styling of the HTML button tag, as well as the beautification style of the HTML button tag, let's read this article together.
Let's first introduce the style settings for the button tag in HTML:
Normal button
---------------------------------Genius, learn God, Daniel, Hacker please bypass the de split line-----------------------------------------------------------------------Well, this may be relatively simple, forgive me this weak for the first time
Struts HTML tags have the same functions as standard HTML tags. We recommend that you use struts tags in struts applications because these tags can be closely linked with other components of the Struts framework, such
1)Generate element. This label
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.